//
//  IdleFishApp.swift
//  IdleFish
//
//  Created by Ben on 2021/8/12.
//

import SwiftUI

@main
struct IdleFishApp: App {
    
    // 都要使用shared获取BenHUDState的对象，保证是同一个对象
    @StateObject var hudState: BenHUDState = BenHUDState.shared
//    @StateObject var initModel: InitModel = InitModel.shared
    var body: some Scene {
        WindowGroup {
            ContentView()
                .environmentObject(hudState)
            
        }
    }
}
